package com.sky.service;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersPaymentDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);

    OrderPaymentVO pay(OrdersPaymentDTO ordersPaymentDTO);

    void paySuccess(Long ordersId);

    void payError(Long ordersId);

    OrderVO orderDetail(Long id);

    void cancel(Long id);

    PageResult historyOrder(OrdersPageQueryDTO ordersPageQueryDTO);

    void reminder(Long id);
}
